home *** CD-ROM | disk | FTP | other *** search
/ Strategy Challenges Collection / Strategy Challenges Collection.iso / pc / demo / demodata / menu.dxr / 00192.ls < prev    next >
Encoding:
Text File  |  1996-10-02  |  1.5 KB  |  72 lines

  1. on enterFrame
  2.   global gBeenThere, gVoiceFlag
  3.   if gBeenThere = 0 then
  4.     if gVoiceFlag = 0 then
  5.       puppetSound("SubMain.aif")
  6.       set gVoiceFlag to 1
  7.     end if
  8.     set gBeenThere to 1
  9.   end if
  10. end
  11.  
  12. on exitFrame
  13.   timeOutCheck()
  14.   Rollovers()
  15.   go(the frame)
  16. end
  17.  
  18. on Rollovers
  19.   if rollOver(10) then
  20.     set the castNum of sprite 8 to the number of member "Cosmic_HL.PICT"
  21.     updateStage()
  22.     repeat while rollOver(10)
  23.       if the mouseDown then
  24.         exit
  25.       end if
  26.     end repeat
  27.     exit
  28.   end if
  29.   if rollOver(11) then
  30.     set the castNum of sprite 8 to the number of member "Heroes_HL.PICT"
  31.     updateStage()
  32.     repeat while rollOver(11)
  33.       if the mouseDown then
  34.         exit
  35.       end if
  36.     end repeat
  37.     exit
  38.   end if
  39.   if rollOver(12) then
  40.     set the castNum of sprite 8 to the number of member "Carnival_HL.PICT"
  41.     updateStage()
  42.     repeat while rollOver(12)
  43.       if the mouseDown then
  44.         exit
  45.       end if
  46.     end repeat
  47.     exit
  48.   end if
  49.   if rollOver(13) then
  50.     set the castNum of sprite 8 to the number of member "Crew_HL.PICT"
  51.     updateStage()
  52.     repeat while rollOver(13)
  53.       if the mouseDown then
  54.         exit
  55.       end if
  56.     end repeat
  57.     exit
  58.   end if
  59.   if rollOver(14) then
  60.     set the castNum of sprite 8 to the number of member "Zoo_HL.PICT"
  61.     updateStage()
  62.     repeat while rollOver(14)
  63.       if the mouseDown then
  64.         exit
  65.       end if
  66.     end repeat
  67.     exit
  68.   end if
  69.   set the castNum of sprite 8 to the number of member "All_Up.PICT"
  70.   updateStage()
  71. end
  72.